from selenium import webdriver
import time

options = webdriver.ChromeOptions()
options.add_argument('-headless')

driver = webdriver.Chrome(options=options)
driver.get('https://www.so.com')
print(driver.title)
driver.quit()